/**
 * quantdo.com.cn
 * zhouqq
 */
package com.quantdo.qtm.linux.pojo.model;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 
 * @author zhouqq
 *
 */
public class LinuxStatusPointDo {
    private Date currTime;
    private String linuxServer;
    private Integer cpuUsedRate;
    private Integer memoryUsedRate;
    private Integer swapUsedRate;
    private Integer diskUsedRate;
    private String diskPath;

    public Date getCurrTime() {
        return currTime;
    }
    public void setCurrTime(Date currTime) {
        this.currTime = currTime;
    }
    public String getLinuxServer() {
        return linuxServer;
    }
    public void setLinuxServer(String linuxServer) {
        this.linuxServer = linuxServer;
    }
    public Integer getCpuUsedRate() {
        return cpuUsedRate;
    }
    public void setCpuUsedRate(Integer cpuUsedRate) {
        this.cpuUsedRate = cpuUsedRate;
    }
    public Integer getMemoryUsedRate() {
        return memoryUsedRate;
    }
    public void setMemoryUsedRate(Integer memoryUsedRate) {
        this.memoryUsedRate = memoryUsedRate;
    }
    public Integer getSwapUsedRate() {
        return swapUsedRate;
    }
    public void setSwapUsedRate(Integer swapUsedRate) {
        this.swapUsedRate = swapUsedRate;
    }
    public Integer getDiskUsedRate() {
        return diskUsedRate;
    }
    public void setDiskUsedRate(Integer diskUsedRate) {
        this.diskUsedRate = diskUsedRate;
    }
    public String getDiskPath() {
        return diskPath;
    }
    public void setDiskPath(String diskPath) {
        this.diskPath = diskPath;
    }
    public String getFormatTime() {
        return new SimpleDateFormat("yyyy-MM-dd.HH:mm").format(currTime);
    }
}
